<template>
    <el-card>
        <div slot="header" class="clearfix">
            <h4>{{title}}</h4>
        </div>
        <el-form :model="businessForm" label-width="120px">
          <el-form-item label="专线业务" required>
              <el-input v-model="businessForm" placeholder=""></el-input>
          </el-form-item>
          <el-form-item label="业务名称" required>
              <el-input v-model="businessForm" placeholder=""></el-input>
          </el-form-item>
          <el-form-item label="类型业务" required>
               <el-select v-model="businessForm.type" placeholder="请选择" size="small">
                    <el-option v-for="item in typeArr" :label="item.label" :key="item.value" :value="item.value"></el-option>
                </el-select>
          </el-form-item>
          <el-form-item label="是否公开" required>
              <el-radio-group v-model="radio">
                <el-radio :label="1">是</el-radio>
                <el-radio :label="2">否</el-radio>
             </el-radio-group>
          </el-form-item>
          <el-form-item label="联系邮箱" required>
              <el-input v-model="businessForm.email" placeholder=""></el-input>
          </el-form-item>
          <el-form-item label="备注" required>
              <el-input v-model="businessForm" placeholder="请输入备注" :rows="3"></el-input>
          </el-form-item>
        </el-form>
    </el-card>  
</template>

<script>
    export default {
        data() {
            return {
                title: '新增专线业务',
                businessForm: {

                },
                typeArr: [
                    {label: '接口专线',value: 1},
                    {label: '网站专线',value: 2},
                ]
            }
        }
    }
</script>

<style lang="scss" scoped>

</style>